#ifndef APP_UART_BUFFERB_H
#define APP_UART_BUFFERB_H

#include "stdio.h"
#include "stdint.h"
#include "CircularQueue.h"

#define UART_BUFFER_QUEUE_LEN   1024
#define UART_BUFFER_QUEUE2_LEN   1024

typedef CIRCULAR_QUEUE(uint8_t,UART_BUFFER_QUEUE_LEN)  UART_BUFQ1;
typedef CIRCULAR_QUEUE(uint8_t,UART_BUFFER_QUEUE2_LEN)  UART_BUFQ2;


int8_t  app_uart_data_dequeue(uint8_t *data,uint8_t *len,uint8_t pri);
uint8_t  app_uart_data_enqueue(uint8_t *data,uint8_t len,uint8_t pri);
#endif
